/**
 *******************************************************************************
 *  @copyright Copyright (c) 2022  <dx_65535@163.com>. 
 * 
 *  @file signal_id.h
 *  @author Xiang.D (dx_65535@163.com)
 *  @version 1.0
 *  @brief Blog: https://linuxtaoist.gitee.io
 *  @date 2022-06-03
 * 
 *  In "signal_list.gen" add the message definition.
 *
 *  Change History:
 *  <Date>     | <Version> | <Author>       | <Description>
 *------------------------------------------------------------------------------
 *  2022/06/03 | 1.0.0.1   | Xiang.D        | Create file
 *------------------------------------------------------------------------------
 * 
 *******************************************************************************
 */

#ifndef __SIGNAL_ID_H__
#define __SIGNAL_ID_H__

/* 消息ID转枚举 */
#ifdef ENUM_OR_STRING
#undef ENUM_OR_STRING
#endif
#define ENUM_OR_STRING(x) x

typedef enum
{
    #include "signal_list.gen"
} E_MSG_ID;

const char *GetMsgName(int msgID);

#endif
